<%--
  Created by IntelliJ IDEA.
  User: wg
  Date: 2017/10/12
  Time: 9:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"  isErrorPage="true" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <p>p</p>
    <p>p1</p>

    <%
        System.out.println(pageContext.getAttribute("page"));
        System.out.println(pageContext.getAttribute("request", pageContext.REQUEST_SCOPE));
        System.out.println(pageContext.getAttribute("session", pageContext.SESSION_SCOPE));
        System.out.println(pageContext.getAttribute("context", pageContext.APPLICATION_SCOPE));

        System.out.println("--------------------");
        System.out.println(request.getAttribute("request"));
        System.out.println(session.getAttribute("session"));
        System.out.println(application.getAttribute("context"));
    %>
</body>
</html>
